import React, { Component } from 'react'
import Banner from './components/Banner'
import BannerList from './components/BannerList'
import List from './components/List'
import Serach from '../Serach'
import {Route,NavLink,Switch,Redirect} from 'react-router-dom'
import '../../assets/css/reset1.css'
import '../../css/Home.scss'

export default class Home extends Component {

  render() {
    return (
      <div>
        <div className="logo">
          <img src={require("../../assets/img/logo.png")} />
        </div>
        <div className="serach">
          <NavLink to="/serach">
          <input type="text" value="     请输入搜索关键字" />
          </NavLink>
        </div>
        <Banner />
        <div className="old-new">
          <img src="https://resource.smartisan.com/resource/929336086872dad8c191c52c5afe17ec.png?x-oss-process=image/resize,w_700/format,webp"/>
        </div>
        <BannerList />
        <List />
        <Route path="/serach" component={Serach} />
        <p className="bottom">没有更多了...</p>
      </div>
    )
  }
}
